package com.ybl.store.backend.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ybl.store.backend.dao.entity.user.ClerkDO;
import com.ybl.store.backend.dto.req.user.clerk.ClerkSaveReqDTO;
import com.ybl.store.backend.dto.req.user.clerk.ClerkUpdateReqDTO;
import com.ybl.store.backend.dto.resp.user.clerk.ClerkNameRespDTO;
import com.ybl.store.backend.dto.resp.user.clerk.ClerkPageRespDTO;
import com.ybl.store.common.entity.ListRespDTO;

/**
 * 店员服务层接口
 */
public interface ClerkService extends IService<ClerkDO> {

    void saveClerk(ClerkSaveReqDTO requestParam);

    void deleteClerkById(Long id);

    void updateClerk(ClerkUpdateReqDTO requestParam);

    void banClerk(Long id, Integer banFlag);

    ListRespDTO<ClerkPageRespDTO>  pageClerk(Integer pn, Integer ps, Long storeId, String name);

    ListRespDTO<ClerkNameRespDTO> listClerkName();
}
